package cn.caplike.demo.repository.design.pattern.combined.annotation.definition;

@SuppressWarnings("unused")
public enum FinanceVersion {

    v20190401_TY("TY-XXX", "TY", "v20190401"),
    v20180907_TC("TC-XXX", "TC", "v20180907");

    private final String text;
    private final String code;
    private final String version;

    FinanceVersion(String text, String code, String version) {
        this.text = text;
        this.code = code;
        this.version = version;
    }

    public String getVersion() {
        return version;
    }

    public String getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}
